package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

//IOC 自定义容器扫描配置 不推荐使用
//@ComponentScan({"com.example", "dao"})
@SpringBootApplication
public class SpringBootDemo2Application {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootDemo2Application.class, args);
    }

}
